package config

var (
	envConfig *EnvConfig
)

type EnvConfig struct {
	Endpoint string
	NodeId   string
}

func InitConfig(endpoint, nodeId string) {
	envConfig = &EnvConfig{
		Endpoint: endpoint,
		NodeId:   nodeId,
	}
}

func GetConfig() *EnvConfig {
	return envConfig
}
